]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
portal: Own org.gnome.Shell.Portal for the access portal
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Sat, 5 Jun 2021 12:22:00 +0000 (09:22 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Sun, 6 Jun 2021 00:29:52 +0000 (21:29 -0300)
org.freedesktop.impl.portal.desktop.gnome will be used for the
GNOME implementation of desktop portals in the future, so make
sure GNOME Shell's implementation of the access portal won't
conflict.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1872>

data/gnome-shell.portal
js/ui/accessDialog.js

index b70463777bf6ff4ae845c8e2fec4698bcf0fbdea..a7cd0d53276ba60c7d58af90faf8dbc7239ffc44 100644 (file)
@@ -1,4 +1,4 @@
 [portal]
-DBusName=org.freedesktop.impl.portal.desktop.gnome
+DBusName=org.gnome.Shell.Portal
 Interfaces=org.freedesktop.impl.portal.Access
 UseIn=gnome
index 0e417bda7bf38ea2523a50487a76100b727f9d02..057cd5b1bb7bc161e222428d1c03527649508e73 100644 (file)
@@ -124,7 +124,7 @@ var AccessDialogDBus = class {
         this._dbusImpl = Gio.DBusExportedObject.wrapJSObject(AccessIface, this);
         this._dbusImpl.export(Gio.DBus.session, '/org/freedesktop/portal/desktop');
 
-        Gio.DBus.session.own_name('org.freedesktop.impl.portal.desktop.gnome', Gio.BusNameOwnerFlags.REPLACE, null, null);
+        Gio.DBus.session.own_name('org.gnome.Shell.Portal', Gio.BusNameOwnerFlags.REPLACE, null, null);
     }
 
     AccessDialogAsync(params, invocation) {